package com.wx.domain.dto;

import com.wx.common.UpdateValidate;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;


/**
 * <p>Title:      CheckTenantNameDto. </p>
 * <p>Description TODO </p>
 * <p>Copyright: Copyright (c) 2016</p>
 * <p>Company:    医百科技有限公司 </p>
 *
 * @author         <a href="xinglinglove1029@163.com"/>杨文生</a>
 * @since      2020/9/14 10:00
 */
@Data
@ApiModel(value = "校验租户唯一性Dto ")
public class CheckTenantNameDto implements Serializable {

	private static final long serialVersionUID = -819578099604622577L;
	/**
	 * 租户ID
	 */
	@ApiModelProperty(value = "租户ID")
	@NotBlank(message = "租户ID不能为空", groups = {UpdateValidate.class})
	private String tenantId;

	/**
	 * 用户名
	 */
	@ApiModelProperty(value = "租户姓名")
	private String tenantName;
}
